#ifndef BACLIENTDLG_H
#define BACLIENTDLG_H

#include <QDialog>
#include <QtNetwork>
#include <QMessageBox>
#include "mainbaclientdlg.h"

namespace Ui {
class BAClientDlg;
}

class BAClientDlg : public QDialog
{
    Q_OBJECT

public:
    explicit BAClientDlg(QWidget *parent = 0);
    ~BAClientDlg();

public:
    QString ipAddr;
    quint16 port;
    QTcpSocket* tcpSocket;

private slots:
    void on_buttonBox_accepted();
    void on_connect_host();
    void showErrors();

private:
    Ui::BAClientDlg *ui;
};

#endif // BACLIENTDLG_H
